import Vue from 'vue'
import Router from 'vue-router'
import HellWorld from '@/components/HelloWorld'
import NewContact from '@/components/NewContact'

Vue.use(Router)

export default new Router({
    routes:[
    {
        path: '/',
        name: 'HellWorld',
        component: HellWorld
    },
    {
        path: '/newcontact',
        name: 'NewContact',
        component: NewContact
    }
    ]
})